package com.xkdx.caipiao.presistence.jifen;

import java.util.HashMap;

import com.xkdx.caipiao.ThreadActivity;
import com.xkdx.caipiao.module.network.AbsModule;
import com.xkdx.caipiao.module.network.HttpTask;
import com.xkdx.caipiao.module.network.JsonHttpRequest;

public class JifenPresistence extends HttpTask {
	
	
	public JifenPresistence(ThreadActivity context) {
		this.context = context;
		this.connectTimeout = 10000;
		this.soTimeOut = 10000;
		mUseCache=true;
		requestInstent = new JsonHttpRequest();
	}

	@Override
	protected void onPostExecute(HashMap<String, AbsModule> result) {
		if (context != null) {
			context.showOnPost(result);
		}
	}
}
